<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
    <style>
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.register-container {
    background-color: white; /* 白色背景，与页面浅灰背景形成对比 */
    width: 100%; /* 宽度占满父容器（在移动设备上自适应） */
    max-width: 400px; /* 最大宽度限制为400px（在桌面端不无限拉伸） */
    padding: 30px; /* 内部留白，让内容与边框有距离 */
    border-radius: 8px; /* 8px圆角，使容器边缘更柔和 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 轻微阴影，增强立体感 */
}
.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 24px;
}

input[value="注册"]{
    background-color: green;
}
input[value="重置"]{
    
    background-color: red;
    
}
.register-container input[type="button"]{
    height: 30px;
    margin-top: 10px;
    color: white;
    width: 100px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0,1);
    transform: translateY(0);
    border: none;
}


    </style>
</head>
<body>
    <!-- 登录表单将在这里添加 -->
    <div id="uu" class="register">
        <div id="u2" class="register-header">
           <h1>用户注册</h1>
        </div>
        <div class="register-container">
        <form>
            <label>账号：</label>
            <input type="text" name="username">
            <br>
            <label>密码：</label>
            <input type="password" name="password">
            <br>
            <label>电话：</label>
            <input type="text" name="phone">
            <br>
            <input name="login" type="button" value="注册">
            <input name="reset" type="button" value="重置">    
        </form>
        </div>
    </div> 
     
     
</body>
</html>